
export function hexToBytes(hex) {
    for (var bytes = [], c = 0; c < hex.length; c += 2)
    bytes.push(parseInt(hex.substr(c, 2), 16));
    return bytes;
}

export function fillChars(charCode,len) {
	var str = "";
    for (var i=0;i<len;i++){
		str = str + charCode;
	}
    return str;
}